<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:77:"D:\wamp\www\myproject\public/../application/index\view\news\news_details.html";i:1517794435;s:64:"D:\wamp\www\myproject\public/../application/index\view\base.html";i:1519300294;s:71:"D:\wamp\www\myproject\public/../application/index\view\news\header.html";i:1517652260;}*/ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="renderer" content="webkit|ie-stand|ie-comp">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>中天科技集团-光电传输网联世界，精细制造服务全球</title>
    <meta content="" name="keywords" />
    <meta content="" name="description" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <link media="screen" type="text/css" href="__STATIC__/index/css/amaze/amazeui.min.css" rel="stylesheet" />
    <link media="screen" type="text/css" href="__STATIC__/index/css/style.css" rel="stylesheet"/>
    <link media="screen" type="text/css"  href="__STATIC__/index/css/datouwang.css" rel="stylesheet"  />
    <link media="screen" type="text/css" href="__STATIC__/index/css/amaze/app.css" rel="stylesheet" />
    <link media="screen" type="text/css" href="__STATIC__/index/css/animate.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="__STATIC__/admin/lib/bootstrap/css/page.css" media="all">
    <script type="text/javascript" src="__STATIC__/index/js/jquery-1.7.min.js"></script>
    <script type="text/javascript" src="__STATIC__/index/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="__STATIC__/index/js/respond.js"></script>
    <!--bannner start-->
    <link rel="stylesheet" type="text/css" href="__STATIC__/index/css/jquery.jslides.css" media="screen" />
    <script type="text/javascript" src="__STATIC__/index/js/jquery.jslides.js"></script>
    <!--bannner end-->
    <!--新闻tab切换-->
    <script type="text/javascript" src="__STATIC__/index/js/tab.js"></script>
     <!--新闻tab切换-->
    <!--bannner -->
    <script type="text/javascript" src="__STATIC__/index/js/jquery.DB_tabMotionBanner.min.js"></script>
    <!--bannner -->
     <!--公用js-->
    <script type="text/javascript" src="__STATIC__/index/js/common.js"></script>
     <!--公用js-->
     <!--动画插件-->
     <script type="text/javascript" src="__STATIC__/index/js/wow.min.js"></script>
     <!--动画插件-->
    <!--焦点图-->
    <script type="text/javascript" src="__STATIC__/index/js/news/koala.min.1.5.js"></script>
    <!--焦点图-->
    <!--广告-->
    <script type="text/javascript" src="__STATIC__/index/js/ads.js"></script>
    <!--广告-->
    
<!--视频播放-->
<script type="text/javascript" charset="utf-8" src="/scripts/ckplayer/ckplayer.js"></script>
<!--视频播放-->
<script type="text/javascript">
$(function(){
	var video_src = '';
        if (video_src == null || video_src == undefined || video_src == '') {
            $("#video-box").hide();
        } else {
            //设置视频容器大小
            winResize();
            $(window).resize(function () {
                winResize();
            });
            //初始化视频容器
            initCKPlayer('video-box', '', '/scripts/ckplayer/ckplayer.swf');
        }
});
//初始化视频播放器需配合ckplayer.js使用
function initCKPlayer(boxId, videoSrc,playerSrc){
	var flashvars={
        f:videoSrc,
        c:0,
        loaded:'loadedHandler'
    };
    var video=[videoSrc];
    CKobject.embed(playerSrc,boxId,'video_v1','100%','100%',false,flashvars,video);
}

//改变大小函数
function winResize(){
	if($(".section").width() == 1180){
		$(".video-box").width(840);
		$(".video-box").height(473);
	}else{
		$(".video-box").width(601);
		$(".video-box").height(338);
	}
}
$(document).ready(function(){
  
  $('li.dropdown').mousemove(function(){
  $(this).find('ul').slideDown("1000");//you can give it a speed
  });
  $('li.dropdown').mouseleave(function(){
  $(this).find('ul').slideUp("fast");
  });

//导航栏
   var Tabs = $('div #newsListnewsTitleID').children('div');
   var category_id = $('#category_id').val();
    var len = Tabs.length;
      for (i = 0; i < len; i++) {
          if(Tabs [i].id==category_id)
          {
        	Tabs [i].style.borderBottom = "2px  solid #004EA1";        
           }
       }
  
});
</script>
<style>
    .titlet{
        font-size: 24px;
        padding-bottom:30px;
    }
    .comment{
        width:100%; 
        height:200px;
        border:1px solid grey;
        border-radius:4px;
    }
    .submitt{
        margin-top:10px;
        float:right;
        width:100px;
        height:40px;
        border:1px solid grey;
        border-radius:4px;
    }
    .submitif{
        display:block;
        margin-top:10px;
        float:right;
        border:1px solid grey;
        border-radius:4px;
        padding: 5px;
    }
    .list li{       
        margin-top:20px;
    }
    .commenter{
        float:left;
        font-size:20px;
    }
    .date{
        float:right;
        color:#777;
        line-height:50px;
        height:40px;
    }
    .comment_con{
        width:100%;
        min-height:100px;
        /*background:#ddd;*/
        border:1px solid #ddd;
        border-radius:5px;
        padding:5px 0;
        transition:all .5s;
    }
    .comment_con:hover{
        background:#eee;
    }
    .comment_con p{
      margin:0 10px;
    }
    .pagination{
        /*text-align:center;*/
        /*margin:auto;*/
    }
</style>

    <script>
    $(function() {
        // 悬浮窗口
        $(".yb_conct").hover(function() {
            $(".yb_conct").css("right", "5px");
            $(".yb_bar .yb_ercode").css('height', '200px');
        }, function() {
            $(".yb_conct").css("right", "-127px");
            $(".yb_bar .yb_ercode").css('height', '53px');
        });
        // 返回顶部
        $(".yb_top").click(function() {
            $("html,body").animate({
                'scrollTop': '0px'
            }, 300)
        });
    });
    </script>
    <style>
        a:hover{
            text-decoration:none;
        }
    </style>
</head>
<body>
<!-- 在线咨询 -->
<div class="yb_conct" style="opacity:.4">
    <div class="yb_bar">
        <ul>
            <li class="yb_top">返回顶部</li>
            <li class="yb_phone">400-100-5252</li>
            <li class="yb_QQ">
                <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=954502368&amp;site=qq&amp;menu=yes&amp;from=message&amp;isappinstalled=0" title="即刻发送您的需求">在线咨询</a>
            </li>
            <li class="yb_ercode" style="height:53px;">微信二维码 <br>
                <img class="hd_qr" style="display:block;margin:auto" src="__STATIC__/index/images/weixin2.jpg" width="160" alt="关注你附近"> 
            </li>
        </ul>
    </div>
</div>
<!-- /在线咨询 -->
<!--Header-->
<div class="header">
<div id="header">
	<div class="headertop"  style="margin: 0px auto;">
	    <table class="tblink">
			<tr>
                <td>
                    <form action="<?php echo url('Index/search'); ?>" method="post">
                    <div style="position: relative;">
                        <input class="fe_keywords"  id="keywords" name="keywords" type="search" onkeydown="if(event.keyCode==13){SiteSearch(<?php echo url('Index/search'); ?>, '#keywords');return false};"   value="请输入关键字" onmouseover="this.focus()" onblur="if (this.value =='') this.value='请输入关键字'" onfocus="this.select()" onclick="if (this.value=='请输入关键字') this.value=''"/>
                        <div style="right:10px;top:3px;position: absolute;"><input title="搜索" class="fe_btn_search" src="__STATIC__/index/images/index/search_btn.png" type="image" onclick="SiteSearch(<?php echo url('Index/search'); ?>, '#keywords');" /></div>
                    </div>
                    </form>
                </td>
                <td>
                    <a href="#">&nbsp;&nbsp;&nbsp;&nbsp;股市代码：SH600522 </a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                </td>	
                <td class="website">
                    <?php if(!session('username')): ?>
                    <a href="<?php echo url('Login/login'); ?>">登录</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                    <a href="<?php echo url('Login/register'); ?>">注册</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                    <?php else: ?>
                    <span><?php echo session('username'); ?></span>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                    <a href="<?php echo url('Login/user_exit',['username'=>session('username')]); ?>">退出</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                    <?php endif; ?>
                </td>
                <td>
                    <a href="" target="_blank">EN</a>&nbsp;&nbsp;&nbsp;
                </td>
                <td>
    	            <div class="weixin" onmouseover="this.className = 'weixin on';" onmouseout="this.className = 'weixin';">
    			        <a href="javascript:;"></a>
    			            <div class="weixin_nr">
        		                <div class="arrow"></div>
        		                <img src="__STATIC__/index/images/weixin.jpg" width="300" height="200" />
    	                    </div>
    	            </div>	
			    </td>                                      
			</tr>
		</table>    
	</div>
    <div class="headerbottom clear" >
        <div class="logodiv fl am-vertical-align" style="float:left">
            <a href="<?php echo url('Index/index'); ?>" target="_self" class="am-vertical-align-middle">
                <img src="__STATIC__/index/images/index/logo.png"/>
            </a>
        </div>
        <div id="daohang" >
			<ul style="width: 1060px;margin: 0px auto;"> 
			    <li class="tab" style="width:100px;">
			    <div class="title">
			        <a href="<?php echo url('Index/index'); ?>" class="tablink">首页</a> 
			    </div>
			    <li class="tab dropdown">
			        <div class="title">
			            <a href="<?php echo url('Aboutus/generalsituation'); ?>" class="tablink arwlink">关于我们</a>  
			        </div>
		            <ul class="subnav" style="width:120px;">  
		                <li>
                            <a href="<?php echo url('Aboutus/generalsituation'); ?>" _fcksavedurl="#">中天概况</a>
                        </li> 
		                
		                <li>
                            <a href="<?php echo url('Aboutus/greatthings'); ?>" _fcksavedurl="#">大事记</a>
                        </li> 
		                
                        <li>
                            <a href="<?php echo url('Aboutus/leadershipcare'); ?>" _fcksavedurl="#">领导关怀</a>
                        </li>
                        <li>
                            <a href="<?php echo url('Aboutus/socialResponsibility'); ?>" _fcksavedurl="#">社会责任</a>
                        </li>  
		            </ul>  
			    </li> 			
			    <li class="tab dropdown"  >
                    <div  class="title">
                        <a href="<?php echo url('Industry/index'); ?>" class="tablink arwlink">产业布局</a>
                    </div>
                    <ul class="subnav" style="width:120px;"> 
                        <?php if(is_array($ind) || $ind instanceof \think\Collection || $ind instanceof \think\Paginator): $i = 0; $__LIST__ = $ind;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list1): $mod = ($i % 2 );++$i;?>
                        <li>
                            <a href="<?php echo url('Industry/industrys',['typeclass'=>$list1['typeclass']]); ?>"><?php echo $list1['typeclass']; ?></a>
                        </li>
                        <?php endforeach; endif; else: echo "" ;endif; ?> 
                    </ul> 
                </li>
                <li class="tab dropdown">
                    <div class="title">
                        <a href="<?php echo url('News/news',['id'=>$news['0']['id']]); ?>" class="tablink arwlink">新闻中心</a>
                    </div>
                    <ul class="subnav" style="width:120px;">
                        <?php if(is_array($news) || $news instanceof \think\Collection || $news instanceof \think\Paginator): $i = 0; $__LIST__ = $news;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list2): $mod = ($i % 2 );++$i;?>
                        <li>
                            <a href="<?php echo url('News/news',['id'=>$list2['id']]); ?>"><?php echo $list2['typeclass']; ?></a>
                        </li> 
                        <?php endforeach; endif; else: echo "" ;endif; ?>          
                    </ul> 
                </li>
			    <li class="tab dropdown">
			        <div class="title">
			             <a href="<?php echo url('Hrresource/hrresource'); ?>" class="tablink arwlink">人力资源</a> 
			        </div>
			        <ul class="subnav" style="width:120px;">  
			            <li>
                            <a href="<?php echo url('Hrresource/hrconcept'); ?>" _fcksavedurl="#">人才理念</a>
                        </li> 
			            <li>
                            <a href="<?php echo url('Hrresource/hrdevelopment'); ?>" _fcksavedurl="#">人才发展</a>
                        </li> 
			            <li>
                            <a href="<?php echo url('Hrresource/job'); ?>" _fcksavedurl="#">人才招聘</a>
                        </li> 
			        </ul> 
			    </li> 	
			</ul> 
		</div>	
    </div>    	
</div>
</div>
<!--/Header-->

    <div class="newsTopImg"><img src="__STATIC__/index/images/news/news.png"></div>
<div class="container clear" >
<div class="width1020">
  <div class="newsListnewsTitle" id="newsListnewsTitleID">
		<?php if(is_array($news) || $news instanceof \think\Collection || $news instanceof \think\Paginator): $i = 0; $__LIST__ = $news;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?>
		<input type="hidden" name="category_id" id="category_id" value="<?php echo $arr2['typeclass']; ?>"/>
		<div class="newsListTitle" id="<?php echo $list['typeclass']; ?>">
			<a name="newsN" href="<?php echo url('news',['id'=>$list['id']]); ?>"><?php echo $list['typeclass']; ?></a>
		</div>
		<?php endforeach; endif; else: echo "" ;endif; ?>
  </div>
</div>
</div>
<!--container -->
    <div class="width1020" style="margin-top: 30px;">
        <div class="newshowL">
            <div class="newshowTitle"> 
                <?php echo $arr2['title']; ?>
            </div>
            <div class="newshowTime">
                <div class="fl newshowDate">
                    <?php echo date('Y-m-d',$arr2['date']); ?>
                </div>  
            </div>
    <div id="video-box" class="video-box">
    </div>
    <div class="newshowContent clear">   
        <?php echo $arr2['details']; ?>
    </div>
    </div>  <!--/newshowL-->
        <div class="newshowR">
        <div class="newshowTJ">推荐新闻</div>
        <div class="newshowfocus">
        <ul>
          
            <li>
                <div style="height:60px;padding-top:10px;width:100%">
                    <div class="newshowfocusTitle"> <a title="中天科技重磅登陆新能源全球竞争力100强" href=""> 中天科技重磅登陆新能源全球竞争力1…</a></div> 
                    <div class="newshowfocusDate">发布时间：2018-01-23</div>
                </div>
            </li>
          
            <li>
                <div style="height:60px;padding-top:10px;width:100%">
                     <div class="newshowfocusTitle"> <a title="新春茶叙聚英才   建言献策谋未来" href=""> 新春茶叙聚英才   建言献策谋未来</a></div> 
                     <div class="newshowfocusDate">发布时间：2018-01-22</div>
                </div>
            </li>
          
            <li>
                <div style="height:60px;padding-top:10px;width:100%">
                     <div class="newshowfocusTitle"> <a title="创新财务管理，中天科技斩获“金管家”奖" href=""> 创新财务管理，中天科技斩获“金管家…</a></div> 
                     <div class="newshowfocusDate">发布时间：2018-01-19</div>
                </div>
            </li>
          
        </ul>
        </div>
        </div> <!--/newshowR-->
    </div><!--/width1020-->

<div class="width1020 clear" style="padding-top: 30px;">
    <div class="fr">
        <a title="返回"  href="#"  onClick="javascript :history.back(-1);">  <img src="__STATIC__/index/images/news/return.png"/></a>
    </div>
    <span style="display:block;width:100%;height:1px;background:#ccc;"></span>
    <div style="width:800px">
        <h3 class='titlet clear'>新闻评论</h3>
        <form action="<?php echo url('newscomment_add'); ?>" method="post">
            <input type="hidden" name="commenter" value="<?php echo session('username'); ?>">
            <input type="hidden" name="title" value="<?php echo $arr2['title']; ?>">
            <input type="hidden" name="ctime" value="<?php echo time(); ?>">
            <textarea name="comment" id="" cols="30" rows="10" class='comment'></textarea>
            <?php if((session('username'))): ?>
            <button type='submit' class='submitt'>发&nbsp;&nbsp;&nbsp;表</button>
            <?php else: ?>
            <a href="<?php echo url('Login/login'); ?>" class='submitif'>登陆后可评论</a>
            <?php endif; ?>
        </form>
        <ul class='clear list'>
        <?php if(is_array($arr) || $arr instanceof \think\Collection || $arr instanceof \think\Paginator): $i = 0; $__LIST__ = $arr;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?>
            <li>
                <span class='commenter'><?php echo $list['commenter']; ?></span>
                <span class='date'><?php echo date('Y/m/d h:m:s',$list['ctime']); ?></span>
                <div class='comment_con clear'>
                    <p ><?php echo $list['comment']; ?></p>
                    <span></span>
                </div>
            </li>
        <?php endforeach; endif; else: echo "" ;endif; ?>
        </ul>
    </div>
        <?php echo $arr->render(); ?>
    
</div>
<div class="clear"></div>
 <div class="line20"></div>

<!--Footer-->
<div class="footer">
    <div class="section">
        <div class="footer-left" style="box-sizing: border-box">
            <div class="am-g" style=" margin-top: 42px;width:650px;">
                <ul class="am-avg-sm-2 am-avg-md-3  am-thumbnails">
                    <li class="wow animated fadeInLeft">
                        <a href="<?php echo url('Aboutus/generalsituation'); ?>" target="_blank">关于中天</a>
                    </li>
                    <li class="wow animated fadeInLeft" data-wow-delay="0.2s">
                        <a href="<?php echo url('Industry/index'); ?>" target="_blank">产业布局</a>
                    </li>
                    <li class="wow animated fadeInLeft" data-wow-delay="0.4s">
                        <a href="<?php echo url('Hrresource/hrresource'); ?>" target="_blank">人力资源</a>
                    </li>
                </ul>
                <ul class="am-avg-sm-2 am-avg-md-3  am-thumbnails" style="margin-top: 20px">
                    <li class="wow animated fadeInLeft">
                        <a href="<?php echo url('News/news',['id'=>$news['0']['id']]); ?>" target="_blank">新闻媒体</a>
                    </li>
                    <li class="wow animated fadeInLeft" data-wow-delay="0.2s">
                        <a href="#" target="_blank">企业文化</a>
                    </li>
                    <li class="wow animated fadeInLeft" data-wow-delay="0.4s">
                        <a href="#" target="_blank">投资者关系</a>
                    </li>
                </ul>
            </div>
        </div>
        <div class="footer-right wow animated fadeInRight">
            <div class="foot_nav">
                <a href="">联系中天</a>|
                <font style="FONT-SIZE: 12px">服务热线：4001005252</font>
            </div>
            <div class="clear"></div>
            <div class="copyright">
                <p>江苏中天科技股份有限公司 版本所有：Copyright © 2015-2017.All Rights Reserved.</p>
                <p><a href="#" style=" color: #ffffff;">苏ICP备10047815号&nbsp; </a></p>
                <p>本网站用字经北京北大方正电子有限公司授权许可</p>
            </div>
        </div>
    </div>
</div>
<!--/Footer-->
</body>
</html>